//导入comment
@import "comment";

body{
    min-width: 320px;
    width: 15rem;
    margin: 0 auto;
    line-height: 1.5;
    font-weight: Arial,Helvetica;
    background: #f2f2f2;
}


@a:50;
.search-content{
    display: flex;
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 15rem;
    height: 88rem / @a;
    background-color: #ffc001;
    .left{
        width: 44rem / @a;
        height: 70rem / @a;
        margin: 11rem / @a 25rem / @a 7rem / @a 24rem / @a;
        background: url(../images/classify.png) no-repeat;
        //背景缩放跟随父盒子大小
        background-size: 44rem / @a 70rem / @a;
    }
    .search{
        flex: 1;
        input{
            width: 100%;
            outline: none;
            border: 0;
            height: 66rem / @a;
            border-radius: 33rem / @a;
            margin-top: 12rem / @a;
            font-size: 25rem / @a;
            padding-left: 55rem / @a;
            color: #757575;
            box-sizing: border-box;
        }
    }
    .right{
        width: 75rem / @a;
        height: 70rem / @a;
        margin: 10rem / @a;
        font-size: 25rem / @a;
        text-align: center;
        line-height: 70rem / @a;
        color: #fff;
    }
}


.banner{
    width: 750rem /@a;
    height: 368rem /@a;
    img{
        height: 100%;
        width: 100%;
    }
}


.ad{
    display: flex;
    a{
        flex: 1;
        img{
            width: 100%;
            height: 100%;
        }
    }
}


.nav{
    width: 750rem / @a;
    a{
        float: left;
        width: 150rem / @a;
        height: 140rem / @a;
        text-align: center;
        img{
            display: block;
            width: 82rem / @a;
            height: 82rem / @a;
            margin: 10rem / @a auto 0;
        }
        span{
            display: block;
            font-size: 25rem / @a;
            color: #333;
        }
    }
}